//
//  StretchableTableHeaderView.h
//  StretchableTableHeaderView
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface HFStretchableTableHeaderView : NSObject


/**  这里是添加tableview的header上面的视图，滑动head变化，上面的视图也会跟着发生变化  */
@property (nonatomic,retain) UITableView* tableView;
@property (nonatomic,retain) UIView* view;
@property (nonatomic,retain) UIImageView* imageView;


/**  scrow  */
@property (strong, nonatomic) UILabel  *name;
/**  share  */
@property (strong, nonatomic) UILabel  *score;
/**  星星视图  */
@property (strong, nonatomic) UIView  *xingxingView;
/**  二维码  */
@property (strong, nonatomic) UIImageView  *erweima;
/**  header  */
@property (strong, nonatomic) UIImageView  *header;



- (void)stretchHeaderForTableView:(UITableView*)tableView withView:(UIView*)view imageView:(UIImageView *)backImageView share:(UILabel *)name headerImaheView:(UIImageView *)header erweima:(UIImageView *)erweima;
- (void)scrollViewDidScroll:(UIScrollView*)scrollView;

@end
